.member-home-page {
  background: #f5f5f5;
  // 概览
  .xtx_overview {
    width: 996px;
    height: 132px;
    background: url(../../../../assets/images/center-bg.png) no-repeat center /
      cover;
    display: flex;
    .user_meta {
      flex: 1;
      display: flex;
      align-items: center;
      .avatar {
        width: 85px;
        height: 85px;
        border-radius: 50%;
        overflow: hidden;
        margin-left: 60px;
        img {
          width: 100%;
          height: 100%;
        }
      }
      h4 {
        padding-left: 26px;
        font-size: 18px;
        font-weight: normal;
        color: white;
      }
    }

    .item {
      flex: 1;
      display: flex;
      align-items: center;
      justify-content: space-around;

      &:first-child {
        border-right: 1px solid #f4f4f4;
      }
      a {
        color: white;
        font-size: 16px;
        text-align: center;
        .iconfont {
          font-size: 32px;
        }
        p {
          line-height: 40px;
        }
      }
    }
  }
  // 公共部分
  .xtx_panel {
    padding: 0 18px 28px;
    margin-top: 18px;
    background-color: #fff;
    border-radius: 2px;

    .xtx_panel_header {
      line-height: 1;
      padding: 22px 7px;
      border-bottom: 1px solid #f4f4f4;
      display: flex;
      justify-content: space-between;

      h4 {
        font-size: 22px;
        font-weight: 400;
      }

      .more {
        color: #999;
        font-size: 16px;
        margin-top: 5px;
        i {
          font-size: 12px;
          color: #999;
          position: relative;
          top: -1px;
        }
        &:hover {
          color: @xtxColor;
          i {
            color: @xtxColor;
          }
        }
      }
    }

    .xtx_panel_goods {
      display: flex;
      justify-content: space-between;
      // height: 316px;

      .item {
        display: block;
        width: 210px;
        padding: 30px 12px 0;
        // background-color: pink;
      }

      .img-box {
        width: 186px;
        height: 160px;
        text-align: center;
        display: table-cell;
        vertical-align: middle;
      }

      .name {
        margin: 20px 0 10px;
        font-size: 16px;
      }

      .price {
        font-size: 22px;
        color: @priceColor;
      }
    }
  }

  // 我的订单
  .xtx_orders {
    .xtx_panel_header {
      border-bottom: none;
    }

    li {
      display: flex;
      padding: 15px 10px;
      margin-bottom: 20px;
      border: 1px solid #f4f4f4;

      &:last-child {
        margin-bottom: 0;
      }
    }

    .order_goods {
      flex: 1;
      display: flex;
      border-right: 1px solid #f4f4f4;
    }

    .thumb {
      width: 106px;
      height: 106px;
      background-color: #ccc;
    }

    .info {
      flex: 1;
      margin: 0 40px 0 5px;
      display: flex;
      justify-content: center;
      flex-direction: column;
      font-size: 16px;

      .name {
        margin-bottom: 5px;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
      }

      .meta {
        font-size: 14px;
        color: #999;
      }
    }

    .status {
      width: 160px;
      text-align: center;
      font-size: 14px;
      display: flex;
      flex-direction: column;
      justify-content: center;

      span {
        color: #e05e30;
      }

      a {
        color: #999;
      }
    }

    .order_payment {
      width: 200px;
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      border-right: 1px solid #f4f4f4;

      .price {
        color: @priceColor;
      }
    }

    .order_action {
      width: 180px;
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;

      .primary {
        line-height: 1;
        padding: 8px 20px;
        margin-bottom: 10px;
        border-radius: 2px;
        background-color: @xtxColor;
        color: #fff;
      }
      a:not(.primary) {
        &:hover {
          color: @xtxColor;
        }
      }
    }
  }
}